import { Component, OnInit,HostListener } from '@angular/core';
declare let AMap:any;
declare let $:any;
declare let window:any;
@Component({
  selector: 'app-dashboard',
  templateUrl: './dashboard.component.html',
  styleUrls: ['./dashboard.component.css']
})

export class DashboardComponent implements OnInit {
  map:any;
  cluster:any;
  markers = [];
  district:any;
  polygons = [];
  citycode:any;
  init:boolean = true;
  province:any;
  subListp:any;
  subListc:any;
  subListj:any;
  subLists:any;
  city:any;
  jdd:any;
  street:any;
  showprovice:any;
  showcity:any;
  showdistrict:any;

  data:any;
  constructor() { }

  ngOnInit() { 

  	//let district = "";
  	let that = this;

    this.map = new AMap.Map('container', {
        resizeEnable: true,
        center: [116.30946, 39.937629],
        zoom: 3
    });



    




}
